<template>
  <view class="share-btn" @click="toLogin">登录后分享好友</view>
</template>
<script>

export default {
  name: 'ShareBtn',
  props: {
    show: {
      type: Boolean,
      default: false
    }
  },
  methods: {
    toLogin() {
      this.$navigateTo('/pages/login/index')
    }
  }
}
</script>
<style lang="scss">
.share-btn{
  width: 280rpx;
  line-height: 80rpx;
  border-radius: 40rpx;
  text-align: center;
  font-size: 28rpx;
  color: #fff;
  background-color: #FE93B4;
  left: 50%;
  bottom: 200rpx;
  margin-left: -140rpx;
  position: fixed;
  z-index: 99;
}
</style>
